Make sure test count is ok on JVM