Improved : insert response
Add test code