Remove unnecessary test statements