Add test for word parser