Changed unit test mock of db_api to pull back correct information