modified test cases, added parameters test