MemoryBehavior
MemoryBehavior refactoring.
Tests for SleepBehavior.