[test_diagnostic] added some basic tests for EOF
[test_diagnostic] added some basic tests for EOF
[pep8]