I've found the need to interact with an actual database context during my NUnit tests (as opposed to abstracting away), I couldn't find any ways to achieve this so I've written my own simple TestHelper.
Basically this give you access to TestHelper.testContext
, which will create the context and migrate the test database for the first time.