variable is an Option object so no need to check for valid keys; will default to null.
add more tests