Remove unnecessary expect