Add tests for OptionsParser class