Assessed WindowInEvent in PointerDetector test instead of EndOfStreamEvent

Change-Id: Ia8d055f6e3a1a3e4b2b29771d2738bf63c07885e