Update error message in test of ReflectUtils