Changing Working directory makes some tests to fail