Add test, fix isMatch bug.
Gofmt