Tests shouldn't call Thread.sleep or something closed but it should use tick actions or something like this.