添加sample controller test code