Allow lowercase types, and test for them.