[rand] Re-enable disabled unit tests.
[ip] Add a unit test.

- Also add homedir attribute to MockWillie.config because it's required by ip.
[movie] Add unit tests.