fix type of error message

reason: hamcrest does not like other types than strings for error messages