issue #2771 physical, add more joint and joint tests