add reset/2
del empty lines
delete dummy test exs
support and test nested transaction
add a transaction test
brush up tests
Merge pull request #4 from Joe-noh/more-functionalities

More functionalities