add Undefined class tests