Fix typo in .releases conversion to APIResults[T].

Accidentally converted to APIResults[Package] instead of
APIResults[Release].
Add tests for .releases() method.