Wrote items test and code, fixed whitespace.