Unit test to protect against recently introduced regression bug (metadata keyname...