add test for named parameters