add code test for select content type