-fixed build.
-Added failure test to class occurence