added test for type of applicaiton