avoid NPE in failure message of the test