Fix path resolution when junit tests are run from within Eclipse.

Fix path resolution when junit tests are run from within Eclipse.