improved test for application and static_pages controllers and added some changes to .gitignore