Adding tests to check that
- previously added schemas not are nulled when referenced by a second schema
- $refs not are pushed to unresolvedRefs if the schema has been added
- schemas can reference and use previously added schemas