Use dynamic port in tests