Metadata interfaces and tests for base metadata models