Test for invite users error

refs #3433