Test case for fail callback.
Test case for success callback.
Fix require paths.