added some metadata related tests