add tests for building absolute URI from file