add unit tests for applications
Merge pull request #84 from huchengtw-moz/luke-tv-arch1-unit-tests-for-applications

add unit tests for applications