This commit resolves failing tests from glance::api and glance::registry related to recent refactors. It also adds tests for all of the new api fragment classes/defines.