Add unit tests for isGranted() of Silex\Application\SecurityTrait