Add some basic tests for parameter checking