add test for duplicated applications