Function tester script.