removed unnassary code from test