adding helpers methods for defining success and failures classes
fixes file_check_exists