entity more complexed relationships tests