invoice tests