Remove unnecessary test
Add addDocument and tests