Fixed: use permissions
Added: test suite