Debug.Assert -> Validity.Assert

Debug.Assert shouldn't be used as it hangs headless instances of the VM