unit tests

fixed searchbyingredient unit test now it also passes