Add spec tests for virtual_aliases
Adds spec tests for variable validation