Test writing stuff