test for params; test for method; get params by key