bug fix test script