defcontrollertest