convert datasource unit tests to use memory storage