Fix all newly introduced test errors
Allow tests to be run from any directory