Implemented JUnit @Rule for asserting the number of executes queries