Functioning tests for timeInsertedQueryBuilder function