Unit tests for param-validator.coffee