Add test for reverting quotes