invalid packet tests