add pocketsphinx script, make tests