Basic unit test for _refs

Created CDSpace, so I have better data for tests to work with.