Added test case for data access methods.
added new data access method