added assertions.js referenced rides and segment tests, created segment tests, added response output to console in segment tests