Assign correct timeout if there is no callback and no timeout.

Also: reduced default timeout to 1 second per test.