GM, Lyft to test self-driving cars within a year