Tidied example code, cooler test8.lua.