Moved Sanity to utils
Wrote a small unit test framework