fix messed up invoice test