unit testing accept and shift actions