Sprinkle some assertIn/assertNotIn into tests. Refs #428.