Adding test for JJ