adding a field for stopWords
adding tests to the main