test Strategy and RandomStrategy