Adding optional random pattern functionality, for testing