Fix tests to be runnable from anywhere