Remove obsolete scripts and add test samples