Adding test7 and 8 to main()