fix issues in governance_controller test raised in review