coding standard clean-ups
add tests for HttpDateFormat.getPreferredDateFormat()