Selenium tests for db operations