add database test route and method in the test class.