fix compile unit test
fix #474 $destroy removing self from parent, splice() missing argument