Remove unneccessary statement from test