added tests for invalid default values