Run tests using memory database