realistic script, implemented callbacks, tests supplied with simple callback