undoing test code