Tests
Mutex sync
Engine destructor sync