changed search test back to controller, added search test