refactor tests to use a fixture to set up the sample tests

also parse the output of test runs more robustly.

note that this includes pull requests https://github.com/klrmn/pytest-random/pull/4 & https://github.com/klrmn/pytest-random/pull/5