corrected 'inconsistent NSRef links' bug
corrected another NSRef derivation bug and updated tests
NSRef headaches persist