fixed error in wildcard and character range transformation
added new tests for wildcard and character range