KFSUPGRADE-998 add test for ReversionUnitOfWorkServiceImpl. add a couple
small fixes.