Day 08.10: lion state machine and one simple test