test that router can differentiate between valid and invalid plugin messages