Adding functionality and tests to QAController.