moved factory tests to JID