Added int parameter to testFunction