BugFix

Improved test coverage.
Fixed bug in how filename was returned when absolute path was presented