fixing invoice repository test