Added unit tests to verify disabled/enabled and visible/invisible elements.
Merge pull request #759 from kinghenry3/UnitTestForEnabledVisible

Unit tests for enabled/visible elements.