Fix tests

The tests were using blessed() without importing it from
Scalar::Util. I used the basic ref() instead.