fix test date boundaries and expectations