fixing invoice tests