Added tests to help assure multiple metadata assignment and ordering