Added test to make sure socket file is cleaned up.