Added tests to reproduce the error describe on issue #720 - Format with a single hash passed to it breaks in 1.9 and 2.0 modes.
Added tests for sprintf when it has a hash as argument.