Add sinusoidal test for joint