Add phpunit.
Complete 'allow', 'deny', 'can' methods.