added a test for the revert to previous (where previous is the live version) functionality