replaced throw_error with throw_exception
Wrote tests for DelegationToARoleWhichIsNotLoaded
Wrote DelegationToARoleWhichIsNotLoaded