adding tests for proper page
added test for successful query
added test for failed query
adding test for exsisting date query