added test for injected functions
fixed issue with option names and - to _ translation