Added entity test mode.

First hack at test mode (partially).  It reads Top n records from each
entity.  It doesn't track delta, or write anything.  It sends entity
output to log info level.