Work on empty file and file with title tests

Work on empty file and file with title tests