fix obscure bugs with interpolation
add test for interpolating non-string objects