To simulate a sign in of an admin user, you can call anywhere in your test function:
self.testbed.setup_env(
USER_EMAIL = 'test@example.com',
USER_ID = '123',
USER_IS_ADMIN = '1',
overwrite = True)
Note that you need to use the overwrite=True parameter!