Writeit integration

Fixing a test