added destroy test, modified makefile