testing for doctor api