Pass name of class that failed
Added an example