Optimized tests: don't create useless tables, specify needed entities in each test