[BZ-967441] adding test case demonstrating that temporal queries are working as expected