Added mocha tests

Just having a look at how mocha and unit testing might fit into the workflow.
* Basic tests for selecting, updating.
* Needs tests for inserting and updating/inserting with mapped fields.

needs a 
```
sudo npm install -g mocha
```
and then you should be able to do
```
make test
```