Refactored how arguments and trailing slashes work
100% code coverage