add invoice tests