Add unit tests.

Do we really care about these methods are not exported initially? Shouldn't we test against var ae = new appengine.AppEngine().exportAll_() only?