Use absolute paths in tests

I'm working on getting tests running on a chrooted ARM environment and noticed that the tests are currently failing because they rely on relative paths.

I've changed it to use absolute paths and all the tests pass now.