Removed conditional based on incorrect assumption (that a question's randomization cannot be changed) to fix variant bug

Removed initialization of unused variable

Updated test cases to reflect new behavior