refactoring SORCER tests