Added @Transactional markers to fix some unit tests.