Add invalid ordres file that ends where a blank line is expected
Remove nose as a required dependency.
Make all next() calls handle EOF safely.