Test selection api from form
Edit doctest in order to use content in an upload