fixing failing unittest, which was expecting a death from an rassert, which of course doesn't happen in release mode