Added tests.js. Updated to dingo v0.0.12.