Fixed issue #152 - Refactored unit test callback design to adhere to node.js standards