Fixed tests running issue on maven