Always strip absolute path from file path
Add some (stupid) tests

better than none
Add better written tests