test: add basic test
fix: file.name instead of file.base
fix: typeof error in generated specs
add: more possible options to the default options