Add test for bug, fixed with other fixes

Adds a test for launchapd bug 1042316 (issue #609) - exists returns wrong data. Which was fixed by other changes.