Apache Mina test