Raising a useful error and adding a speccific tests

Fixes #506
Note that what I'm testing here is that `m[header]` is None. If it is `None` I have to allow it, so I have to change the False that the `isinstance` call is returning by a True.