removing unneccesary has/hasIn tests (Fixes #437)