import random added to test