Added a sanity check to the Tests