refactor some tests to use the more advanded PackagestTestCase (which has the registry and the container preconfigured)
fix config writing bug in Release
add better rmt.json