Add user group factory and spec