Bug 20997: Add unit tests for Koha::Account::Line::apply