Improved unit test on app name

review: @devoncarew