update tests and add unix socket