Test that meta data gets created automatically with the right lookup key.