add test for respond