Source document unit tests