(GH-489) removed available port variable from test as this is not used anymore. Fixed identity as well.