Making sure not processes run on test port before running tests