Add minimal 'gc' test
Get rid of -root as Root global variable

This is necessary for parallel testing.