new random initializer unit test