initialize ivar in -initWithCoder:
add unit tests for the RandomSequence class
fix range issue