added test generator scripts
random fixes