Batch refactoring to community gem [KFSQA-1028]