Moved all the tests to a common package.