add test for param