Added polygon anchor tests.
Added dynamic options support.