Add writehosts (untested)
Two more cases for alternatingsequence_spec