Removed extraneous tests
Added C test and added #ifdefs to make sure that the npspec header is
able to run both C++ and C.