boilerplate and test for NLP interface