you could just do start_transaction.side_effect in the mock instead of mocking the http requests, but still not keen on it returning None, think it should throw an error