beforAll stubs are not function expectations