Test helper

Added test helper class and made metadata jar available as a test-jar