Test with multiple plans; error handling in tests