Use app hostname in test framework