redo the aplay test

avoid hardcoding ttyS0 in scripts, but use script API