fixes #20 (Some#optional expectation does not work correctly with references)