Simplify paths in test.m