Make default parameters for test_random_choice_csc, and use almost equal

Use assert_array_almost_equal in test_sparse_class_distribution so
that slight numerical inacuracies are tolerated,

Move initilization of n_samples and random state to the parameters
of the function