added phpunit and improved settings