add test for app reference