Made a test wrapper so we can work with promises todo the done etc and async testing.
The line of sight had some assertions that were wrong
Fixed some assertion bugs and fixed some little lingering bugs from removing dojo as depency