Remove empty package.
Added checking of role requirements.
Tests for role requirements.