Added some data logging unit tests