register c function on load test