Fixed double close on file handle in unity_helper.h.
Make test socket configurable in test.