Updated test cases and add init method to overwrite canonicalized string