val(text) now clears existing value before inserting new one

I felt this was expected behaviour, I noticed in a few of my tests my email inputs were pre-populated, and calling val on them simply appended the new value to the end of the old, e.g:

"test@holidayextras.com" becomes "test@holidayextras.comtestreplacement@holidayextras.com", instead of just "testreplacement@holidayextras.com"

Happy to work around if you don't feel this is sensible.