More test code refactor.
Added missing selector value in case of 'select' type.