Preserve state from test (so a failed test will result in a failed build)
Merge pull request #18 from teozkr/issue/18

Test state is not currently preserved