Form element title attribute test

Created test for PR #4065