some changes in WordFilterTest class