more truffle shuffle for sfdc machine
fairly straightforward port of role_app.t