Test that changing ports restarts container