refactoring of insertPlayer in connectorTest