Remove unnecessary assertion in test