Fix soundtrigger test, adds null pointer check

BUG:27461735
Change-Id: I95ea641e41bcaefce15004f508ddb4bed0b5f2a8
1 file changed