added dynamic relation test, ref #90