Hotfix/semrush

Add tests for SemRush and refactor and optimize the old code