Updated test_papers.py. Added test cases for invalid keys and invalid date formats.
Merge remote-tracking branch 'origin/master'