Fix PropertyViewTest failing in other time zones.

Instead of testing for static date string, generate date string using Date and SimpleDateFormat.