WORDS-369: create integration tests for CountWordsController.java class