testing implemented and module updated for matrix_builder sanity checks