Improve ResourceRef impl and handling + adapt tests to pass
Test via HTTP read expanded, and read double expanded