add testing for hasVirtualColumn with a null value