test type is now case insensitive