test for params in redirect