added metastore tests