Added some record accessing unit tests.