Added test helper for initializing database