setup invoice repository test and invoice repository