revert test code