Tests: Created tests for hardware functions.