reordered and linux socket test (for actual testing of android sockets))