Fixed test_missing and test_distriubutions; added a RNG seed to the latter