test InvalidParams