old_contents: #!/usr/bin/env python
  # coding=utf-8
  
  from __future__ import unicode_literals
  
  import nose.tools as nose
  
  import yvs.filter_refs as yvs
  from tests import set_up, tear_down
  
  
  @nose.with_setup(set_up, tear_down)
  def test_book():
      """should recognize shorthand book syntax"""
      results = yvs.get_result_list('1co')
      nose.assert_equal(results[0]['title'], '1 Corinthians 1 (NIV)')
      nose.assert_equal(len(results), 1)
  
  
  @nose.with_setup(set_up, tear_down)
  def test_chapter():
      """should recognize shorthand chapter syntax"""
      results = yvs.get_result_list('1 co13')
      nose.assert_equal(results[0]['title'], '1 Corinthians 13 (NIV)')
      nose.assert_equal(len(results), 1)
  
  
  @nose.with_setup(set_up, tear_down)
  def test_version():
      """should recognize shorthand version syntax"""
      results = yvs.get_result_list('1 co 13esv')
      nose.assert_equal(results[0]['title'], '1 Corinthians 13 (ESV)')
      nose.assert_equal(len(results), 1)
  
new_contents: #!/usr/bin/env python
  # coding=utf-8
  
  from __future__ import unicode_literals
  
  import nose.tools as nose
  
  import yvs.filter_refs as yvs
  from tests import set_up, tear_down
  from tests.decorators import use_user_prefs
  
  
  @nose.with_setup(set_up, tear_down)
  def test_book():
      """should recognize shorthand book syntax"""
      results = yvs.get_result_list('1co')
      nose.assert_equal(results[0]['title'], '1 Corinthians 1 (NIV)')
      nose.assert_equal(len(results), 1)
  
  
  @nose.with_setup(set_up, tear_down)
  def test_chapter():
      """should recognize shorthand chapter syntax"""
      results = yvs.get_result_list('1 co13')
      nose.assert_equal(results[0]['title'], '1 Corinthians 13 (NIV)')
      nose.assert_equal(len(results), 1)
  
  
  @nose.with_setup(set_up, tear_down)
  def test_version():
      """should recognize shorthand version syntax"""
      results = yvs.get_result_list('1 co 13esv')
      nose.assert_equal(results[0]['title'], '1 Corinthians 13 (ESV)')
      nose.assert_equal(len(results), 1)
  
  
  @nose.with_setup(set_up, tear_down)
  @use_user_prefs({'language': 'zho_tw', 'version': 46})
  def test_version_unicode():
      """should allow shorthand Unicode versions"""
      results = yvs.get_result_list('創世記1:3次經')
      nose.assert_equal(results[0]['title'], '創世記 1:3 (次經)')
      nose.assert_equal(len(results), 1)
  
subject: Add test for shorthand unicode versions