app-piece-factory test