add some test cases. validate all parameters