Updated deps and deprecated test cases

Updated dependencies and deprecated DatabaseTestCase and PhpcrTestCase