tests for unstable/macro-testing
added unstable/socket
clean up socket code