add invoice repo test