Fixed Test files

Added conf check on test script