Added unit test for matrix rotZ function