Fixed typo in conditional tests