controller method tested