Added RootSelector tests.