Fixes interpolation on SafeBuffer

Interpolation was untested and did not work with hash arguments.
Adds tests for both array and hash arguments, and adds hash support.