Writen envelop for tests