Fixes to tests

- added some new ones
- started using the equal() and notEqual() methods instead of using ok() everywhere
- added ongoing-tests for debugging/ongoing work
- added module use
- working on parsing problems (conditionExpression data)
Rewrite of parsing structure

This is a major change, there's too much to describe
Various notes and reference documents added