Search parent elements for placeholder
Added tests for placeholder attribute