Added test when reader is null
Have to disable Wdocumentation

This is because clang doesn't seem to think that a function pointer is a function