Fix relative path calculations for paths with eclipses.  Added JUnits.

Fixed issue #57.