Fix Bug in Test Plugin