Testing for presence of undesired features