fix for unit tests to be able to run with any current folder and from DartEditor

I've tried to open your library in Darteditor and tests are not passing. With this fix they are passing both from terminal with different "current" folders and from DartEditor.