Created a tests to figure out if the counter for each word was correct, given there is no invalid input