Remove unnecessary assert statement from test