Test controllers function.