Test that class dtypes string and float fail in random_choice_csc