tests for <j/> and <g/>