Fixed the JEX's unit tests.