need to solve mock database connection not connecting