sound: add test code

Change-Id: I382676ec72f5608f87ef820193ec3bc6a579e0bb