added app tests
replaced erb with haml