[src][test] Introducing matrix tests