Breaks out a generic join_metadata method on the base model.
Scrubs out test file.