write, erase and gc tests