Changed implementation to always ignore hidden text.

changed implementation of how to verify hidden form elements
and added tests for that