make metadata service test more self-sufficient -- no more manual steps