Refactored DocumentPropertyChecker for testing