Add $group_id and $user_id param sto invite_anyone_group_invite_access_test()

Also adds a few preliminary unit tests

See #113