fix tests
initial re-implementation of refList