whitespace
Added tests and changed code so that path sep can be passed in to test different ones.