Add tests for /~:user/totals