refactor remote tests and remove cleanup trap

removed cleanup trap to allow examination of failed test cases.