Fixed init/destroy logic
Added some destroy tests