work on refList tests; fix refList bugs