improve test if in gae