sentence/parsing test code