disallowed class test