Move database init method from test file to Test Config