Refactor Invoice test. Add test made by Hugo