add test for controllers generator