Fix bug, now pass all test.

In AccessManager:isGranted() if attribute was set, expression was not tested.
Coding style.