Issue #2843778 by Wim Leers: EntityResource: Provide comprehensive test coverage for ContactForm entity (cherry picked from commit a87e8aaf)