added gc to makefile
replace assert with cunit assert for ret val
tests for error conditions
test for gc eligible stat