MDL-18375 calendar: introduced a PHPUnit test for the datetime user profile field