Adding tests for the parser delegate and refactoring start method to tak...

...e in parameters