Increase measurement window from 2 to 20 milliseconds in unit test

Build on travis-ci was failing on these unit tests...