refactor test to not use hard-coded group

Users could not chown test directory to group they did not belong to so
not the test tries to pick a group that the user is a member of.