Updated matrix test with new unit testing framework
Unit testing