addin polynomial matrix unit test