Add test for the before joint point