added unittest for 2x2 scaling matrix