Refactored spec with the splat operator
Another unit test for dirify