use test recipe for unit testing

- also rename method to partial_search_in_env to be consistent with cookbook name