Invoice class tests update