Added tests for title extent

This contains the changes for title extent. It also contains a few bug fixes for the other scenarios.

This pull request is also trying to re-delete some files which have already been deleted from the master.