Move tests to contrib package.