Update the test to integrate in build.

        * TODO: fix make distcheck.