test for hosted application