fix test
pass digest as a key in an options hash