Tests controller