test controller add.