add missing tests and invoice relationship to Customer