add tests for null params