OAK 1977: Add cost estimation test for query with property and path restriction