add error message to test scala.Nothing's usage