testing for invoice branch