Merge pull request #7 from carlosmn/blob

Add a couple of missing methods around Blob
Wrap immutable refs
Factor out creating the test repo
Add a test for references
Delete the whole test dir