WORDS-384: create integration tests for IndexController.java class