Refactors socket io message sending
shortens test task to t