controller test, error reporting