We recently posted a whitepaper (written by Scott Allen) on MSDN that demonstrates ways to write testable code with EF4. You can read the article here, and if you have feedback please post it in the comments below.