fix installApp name conflict and add tests (fix #3030)
Merge pull request #3031 from jlipps/master

fix installApp name conflict and add tests (fix #3030)