LPS-29125 - add unit test

According to Mika's advice, we should avoid to use @Tansactional and we should clean up data by ourselves

refer to https://in.liferay.com/web/global.engineering/forums/-/message_boards/message/1852069?p_p_auth=ZJ9A8eQc