validating endpoint types are returned as expected
all tests now pass