added test for stripping $