unit tests for creation of lifecycle-manager & resident
unit test for randomNumber