fixed Setting and Joint unit Tests