re-write for DocumentManagerTest.java
Merge branch 'master' of https://github.com/jdawes/seng426project