minor improvements related to android execution

tried to get more or less independent tests
ie fix errors like "var is not defined" when full suite terminated