Adding test for new addWords function on dictionary