Fix tests and make them execute in parallel.