Param checking + tests