Add some metadata editor tests