Code Testing for Paper Bags