setup/teardown for selector test