added invert route tests