tests on controllers