fix expectation to correct class