borrow tst_misc.c from netCDF test program

git-svn-id: https://svn.mcs.anl.gov/repos/parallel-netcdf/trunk@1794 c368ceb8-fd28-0410-a457-e46ee1d7cd4a
borrow tst_small.c from netCDF test program

git-svn-id: https://svn.mcs.anl.gov/repos/parallel-netcdf/trunk@1795 c368ceb8-fd28-0410-a457-e46ee1d7cd4a