Test cases for Application.