Add test for transaction
Add cover.spec

/cc @puzza007 is this right?