fixed response status issue with intergration tests