feature(util) getExtension -> getExt
feature(util) add tests