fix expectation name of test for NoMethodError