upgrades analyzer, adds protocol test