Callback function is now last argument. Added test to ensure that behavior.