refactoring basic tests for calculation
renamed collectItems to updateItemsCache, updated some documentation