Prepared for sbt-scripted testing.
Merge pull request #3 from janm399/master

Isolate the mutable state