[C] Add test for reset
[C] Move libraries into LIBS option from LINKFLAGS.