Add test for space in path and simplify test setUp