Testing Apache Avro serialization in an OSGi environment