if test fails it puts out the corresponding error in the rails console
prevent error moessage from beeing printed too often