test: Add test for initial selection support

See #4

[ci-skip]