changed validation to take effect only if reserved_for_test has changed