using strict test first to build Ruby cart