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.
Merge remote-tracking branch 'upstream/master' into mocks