Added compact representation test.