Functional tests for tempurl

Change-Id: I578be387fe6119a86a8abc544b3cbe210ddca3c1