We make the test faster and avoid a strange issue with `current_path` in JavaScript tests. We should probably have done this in commit ec1874325.
ec1874325