Fixed a slight typo/syntax error in library_sdl.js
Added a pure audio generation test case.

Signed-off-by: ILOVEPIE <thehairyrock@gmail.com>