Completed inviting friend feature together with test suite