Removed broken unused code from test