finished invoice relationships tests and lib files