refactor TestBlitting