Refactor PUT test case in ConfessionsControllerTest.js