authz: unit tests for roles

some unit tests for epm

Signed-off-by: Pierre Tardy <tardyp@gmail.com>