fix tests, enhance releases_manager