Check RefCount when uploading single block
Cleanup
Merge pull request #219 from jc7998/check_ref_count

API Tests: Check RefCount when uploading single block