Fixing up element not found message in attributeContains. Added tests for attribute not found