Adding testing stuff in chapter 3. Finished chapter 3