reverting attributes and testing search modeled from chef