Saving the api environment and delegate before running a unit test, and restoring it after the unit test. Previously, if the test is run from the REPL, and there was a server running, the connection to the server was not restored properly (received "No API for current environment" error), which totally sucked.
Saving the api environment and delegate before running a unit test, and restoring it after the unit test. Previously, if the test is run from the REPL, and there was a server running, the connection to the server was not restored properly (received "No API for current environment" error), which totally sucked.

gcv/appengine-magic,ctdavies/app-engine,craygo/appengine-magic-2