Updates the unit tests to account for the new registerCallbacks method
Update the comments for the Parser and also creates a new method called registerCallbacks