- added test function for fail and true for every class