add tests for sum_up_app method
add tests for update_app_totals; actually discover and fix a bug