Add test for changing trial end date