fix generated controller test to use controller as syntax