begin writing referencetype tests