Add test for owed, given, spent computation on a single line