Provide util fns for port, context and uri; handy for testing
Tests for util/app-uri