Updated deps and deprecated test cases

Updated dependencies and deprecated DatabaseTestCase and PhpcrTestCase
Packaging the DI testcases by default.