fixed GetLastInboundOnPath method
First UnitTest (omg!!)