add specs for random.array.  closes #3.