fixed misprint, added small cfg{} test