rewrites the test to pass args in like they would from the view/controller
fixes the search method to handle an empty :Time parm
changes the test to not worry about passing in parameter, query string will contain all the vars needed