backend for scanner testing