Add test for #76

There is currently a bug in `api.coffee` that makes sql.js throw an
error when binding a null value to a statement.