fix default roles and types AND add another test
Fix API for save/load and test for that
Documentation