upgreding the tests and scripts for positive function