add schema validation for response
add api call test