Set test variables and change error message.