Add test case for method 'references'

* tests/pull.R: Add test case for references method. Calls C
  function git2r_reference_list.

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>