Added selection.html methods + tests