get data from the fogbugz API. Some tests added