write new integration test to check if valid response types for different paths
write new integration test to check if valid response types for different paths