Fixed test so it only checks the property it is testing for.