added getDoc test