IsEquals now checks the expected optional is not null