Added Unit Testing

As well as updates for Nlp class