listen port variable, new test for not null invalid token