updated test
updated time window strictness check