Add phpunit to require-dev
Allow use public attributes