Added a test and fix for constraining what types can be in a Class0 response