test Selector.register