Added unit testing for application.