Removed more database-related assertions from acceptance tests.
Changed the assertion that checks that the folder popup has opened during acceptance tests.

The previous assertion sometimes failed in Travis CI but not in my test environment. No idea why. Let's see how this one behaves.