Fixed a unittest so it does not open an http port