modified unit test to be able to run from any directory, not limited to /tests/