Add a system test for editing cards, and make some progress on it.