Extracts error messages into new module and improve error state tests
Reafctors reader options validation into its own method