Added alert setter for backwards compatibility.
Added spec tests for data and alert on notifications & validations.