IMPORTANT: added empty sequence support.
One more test.