tests refactored, stripNot

Change-Id: I63d484e7e8432c6d3dea51cb3adb9d9f01b2536f
parse does not return remainder

Change-Id: I0d6c956d8e725541b22998ba2f49663770b1a02b
Works with nicer high level functions

Change-Id: Ibd3fa15178a491435c4b1b65f64a96910cb854b5
Refactored isSubexpression out.

Change-Id: Ie721a97c8a8e127014160a0775eb70df72ee9ab0