Controller testing