test: fix some mistakes
src: add instance method 'isInvertible()'
test: add instance method 'isInvertible()' testings
readme: add instance method 'isInvertible()' api
lint: add some files for linting pass