add test in index.ph for response