Adding tests for Cassandra ports retrieval.