Fix tests, add meta inheritance