Added low level read/write functions in test mode.

The low-level read/write functions are only available if ECAT_HWTEST
is defined. Otherwise these functions aren't available.