Added tests for `index/index` and `error/index` controllers
Fixed codestyle of tests