Added test for testing db connection