MDL-18375 calendar: introduced a PHPUnit test to ensure the datetime user profile field settings are saved correctly