Fix typo in API tests
Selenium tests add organization before adding a dataset, some refactoring