fix app tests
rename app coffee tests
fix test for database