fixes and adds tests for relative path issue