Removed dependency on case for type argument

Tests for changes to the default object, tests that a toUpperCase string exists in the allowed types.