add tests for ExpenseDetails controller