writing item tests