Fix string vs symbol errors in unit tests (ruby 1.9 compat)