Refactor EF tests to share common base test class