added test for strip_garbage()