updated switchlastthenadd test MJ-562