api responses confirmed with test