improve unit testing: only one frame was previously processed