test code made useful and moved into group divider where it will be used