Committing first draft of tests- more work required, particularly in modularisation
Merge branch 'master' of https://github.com/tonbar/lrg_parser_1

Merging testing and code updates