Change path in unit tests

The tests are in a subdirectory called 'test', but many of them referred to
files in 'tests' causing them to fail.