instance generator + test of variables