Tests for JointProbabilityDistribution Class