basic tests on reading of metadata