Test for behavior of RegEx when actual is null