Removed unnessecary right function from test script