Fix errors for phpunit
Add tests for "index" and "news" controllers