#2 Adding test for Document