selection and unit tests
edited detached head