Added tests for reading references to objects

Also clarified this in the README