fixes #22 by not messing up the groupadd command and adds tests for group creation