Adds tests to ApplicationPage from github issues