added: test for nlp() function to ensure future changes don't break it