WORDS-347: create unit tests for DocTextTypeImpl.java class