verbatim copy from ansible:devel ``module_common.py`` (cff4ab511c8bc4bf7b32f5716068920d3b0c5269)
use a subclass from the 'real' AnsibleModule for testing