Testing validation of data