added test for default value