Add tests for the concurrent module (which I'd forgotten to test before).