Testing for common deterministic trend slopes