Some tests of controller