Unit tests help make this bearable