Fix dot notation in config key. Added more tests to plugins loader + refactor. See #2