Merge pull request #89 from czardoz/master

test for the _get_entry method
Merge pull request #92 from czardoz/master

imported random
Fixing @czardoz 's mess-up ;)