Improved testing for encrypted Date field