raise error for variable store on parent == nil.
add spec for failing in store due to parent==nil.