Got socket tests to work