Added unit tests for BasicRandomization.