Added simple test on randomitemgenerator