new testing framework (tested over matrix module)