Add globaltocjs test.