Add missing tests that selection gets kept and add prototype properties for further implementation