HardwareAccessor Tests

Added tests for HardwareAccessor and implemented mock functionality.