finish invoice repo test. close #34.