revert test code changes