Add tests for the before joint point