invitation system developed, helpermethods and unit tests