really fix broken test by embedding metadata jar as a test resource