finished the PaperTest class and works perfectly