OfflineTest speedup.
Fixed tests.