Offline unit tests