Add unit tests to sample app to ensure code is stable.
Add unit tests to sample app to ensure code is stable.