Move test only dependencies in test only profile.