testsuite: Added unit tests for new option parsing

Putting this in as a PR since it could screw up unit tests pretty awesome, and I want people to try it out and make sure it doesn't screw anything up.