port changed to number type in tests