Fixed the tests, also added quick fix for absolute files