Test error propagation