Strict equals in tight loop; added test case