Implemented some tests.
Fixed tests and client script execution.
Implemented some client script tests.
Fixed client script.
Fixed bug when no callback exists.