match codestyle in sql-string.js
Add unit tests for typed arrays