fix test
add support for polymorphic links (and move util methods to EOF)