add @safe annotations to all unittests which 'just work'
Merge pull request #2632 from braddr/safe_range

add @safe annotations to all unittests which 'just work'