Add test for date_helper and fix test service.