Documented $HAS_EOL and added tests
More tests and POD clarification