hasgetattribute renamed to assertgetatribute