test written in items.js