Refactor selection tests for minimal loading.