Added unittests for PRNGFactory