Change allow to expect