Updated syntax changing deprecated should method to expect