Added unit tests for file url construction.