Select component state test fix