Created the ass_test function under testingAlarmBased

The ass value should be between 0..1 but for the randoms, its goes crazy