Fixed error message in test