Duplicate the test_bitcoin file into the common dir, I hope to remove the original in future. Make the common dir a new static lib and create a new qtestlib based unit test out of the old doublespend unit test.