implement random Addreee and add a test