added groups; group tests; relationships