test cases  - with parameters