Added tests for multiple callbacks
Added test for non-function then parameters, fixed bug