Added some sanity checks to unit tests