change sprite.test api