test for params