Fixed Test script