Delete duplicated assertEqual

Duplicated assertEqual in the test function