adds before and after fn options for tests
Merge pull request #5 from pflannery/before-after-each

adds before and after fn options for tests