fix tests so that only the 2 defined test databases are used