broke everything!
fixed optimiser tests
More tests and refactoring of persistence tests
fixed tests and added resolver
Fixing schema due to refactoring
fixed unitialized allocations
Limits fixes and refactoring, still one test case failing
fixed all unit tests! obviously this means more are needed
reorganising tests
working again!