continue work on options parser and add unit tests for it