added database create method to tests