Integration tests for loan accounting flow