remove duplicated function
remove unneccessary anonymous function wrapper
use nested describes to have a global "beforeEach"

note that mocha will nicely indent the "test sections" as well when running
with the spec reporter :)
Merge pull request #300 from c089/persistence-test-cleanup

Persistence test cleanup