c: Add a small test program for the NoC.