now handling invalid parameter types
added new error code
srv test now allows for interactive testing