initial test for compressing string