tdd undefined function test
Undefined callback error

Check to see if callback is defined and is a function before invoking
said callback

Fixes #4
0.1.7