Add phpunit and prepare app for testing