moved the anchorPoint test into a dedicated test unit

I will add there the test on the visible flag