refactor(readconfigdir): use extname and basename instead of regex
refactor(tests): moved fixtures into config folder, added output fixture
feat(gruntconfig): set up method with tests