update tests, use memory db