add plugins test
add destroy tests
update example
work on hooks