moved metadata test only to core.test