added word controller tests