Updated the testing code to use the print function instead of the print statement.