Issue 64

The convert variable part in `put_variable` probably needs some improvement - not optimal to use `merge`. I have changed the `test` code so that each individual test uses its own `cdb` connection.

Not ready for merge.