Implemented Queries in the Test Class