Test writing in reverse order works