WORDS-343 - create tests for IndexController.java class