Test for registring hstore extension in a transaction block.

Add tests for #51 

On my machine it works :S