Merge pull request #5 from dkorolev/master

Added an example death test.
Merge pull request #6 from dkorolev/master

Added gflags and a test for it.